Skip to main content

standard

Type

keyword

Summary

Used with the style property to indicate a button that looks and behaves like a standard button for the current platform.

Used with the date and time functions to specify a date or time in the ISO 8601 format.

Syntax

standard

Description

Use the standard keyword to create a button that looks like a standard dialog-box button.

Use the standard keyword to use a date in an invariant format that is guaranteed not to change when the stack is moved to another system, or when users change their system preferences.

You can use the standard keyword in combination with the long, abbreviated, or short keywords. The standard keyword must come before the long, abbreviated, or short keyword.

A standard date looks like this: 2000-06-22

A short standard time looks like this: 11:22:47

A long standard time looks like this: 11:22:47+01:00

Examples

set the style of button "Cancel" to standard

glossary: property, keyword

keyword: button, long, abbreviated, short

property: style

function: platform, date, time

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?